package si.yun.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class SyProduct implements Serializable {
    @ApiModelProperty(value = "商品id")
    private Integer productId;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getProductLabel() {
        return ProductLabel;
    }

    public void setProductLabel(String productLabel) {
        ProductLabel = productLabel;
    }

    public Integer getProductSales() {
        return ProductSales;
    }

    public void setProductSales(Integer productSales) {
        ProductSales = productSales;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @ApiModelProperty(value = "商品编号")
    private Integer productCode;

    @ApiModelProperty(value = "商品分类")
    private Integer categoryId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "搜索关键字")
    private String searchKeywords;

    @ApiModelProperty(value = "商品主图")
    private String mainImage;

    @ApiModelProperty(value = "商品现价")
    private double currentpriceProduct;

    @ApiModelProperty(value = "商品原价")
    private double originalpriceProduct;

    @ApiModelProperty(value = "商品描述")
    private String productDescription;

    @ApiModelProperty(value = "点击量")
    private Integer hits;

    @ApiModelProperty(value = "商品审核状态(2审核中,3审核通过，4审核不通过)")
    private Integer productSate;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新人")
    private Integer updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "商品推荐（2新品，3推荐）")
    private Integer recommend;

    @ApiModelProperty(value = "是否可用优惠券(2yes,3no)")
    private Integer discount;

    @ApiModelProperty(value = "服务保证（2退货无忧，3快速退款，4包邮）")
    private String ensure;

    @ApiModelProperty(value = "商品销量")
    private Integer ProductSales;

    @ApiModelProperty(value = "商品标签")
    private String ProductLabel;

    @ApiModelProperty(value = "状态(1上架，2下架）")
    private Integer state;

    @ApiModelProperty(value = "收藏数量")
    private Integer collectionVolume;

    @ApiModelProperty(value = "点赞数量")
    private Integer fabulous;

    @ApiModelProperty(value = "点赞数量")
    private Integer exhibition;

    public Integer getExhibition() {
        return exhibition;
    }

    public void setExhibition(Integer exhibition) {
        this.exhibition = exhibition;
    }

    public Integer getCollectionVolume() {
        return collectionVolume;
    }

    public void setCollectionVolume(Integer collectionVolume) {
        this.collectionVolume = collectionVolume;
    }

    public Integer getFabulous() {
        return fabulous;
    }

    public void setFabulous(Integer fabulous) {
        this.fabulous = fabulous;
    }

    private static final long serialVersionUID = 1L;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductCode() {
        return productCode;
    }

    public void setProductCode(Integer productCode) {
        this.productCode = productCode;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSearchKeywords() {
        return searchKeywords;
    }

    public void setSearchKeywords(String searchKeywords) {
        this.searchKeywords = searchKeywords;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public double getCurrentpriceProduct() {
        return currentpriceProduct;
    }

    public void setCurrentpriceProduct(double currentpriceProduct) {
        this.currentpriceProduct = currentpriceProduct;
    }

    public double getOriginalpriceProduct() {
        return originalpriceProduct;
    }

    public void setOriginalpriceProduct(double originalpriceProduct) {
        this.originalpriceProduct = originalpriceProduct;
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getProductSate() {
        return productSate;
    }

    public void setProductSate(Integer productSate) {
        this.productSate = productSate;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public String getEnsure() {
        return ensure;
    }

    public void setEnsure(String ensure) {
        this.ensure = ensure;
    }

    @Override
    public String toString() {
        return "SyProduct{" +
                "productId=" + productId +
                ", productCode=" + productCode +
                ", categoryId=" + categoryId +
                ", productName='" + productName + '\'' +
                ", searchKeywords='" + searchKeywords + '\'' +
                ", mainImage='" + mainImage + '\'' +
                ", currentpriceProduct=" + currentpriceProduct +
                ", originalpriceProduct=" + originalpriceProduct +
                ", productDescription='" + productDescription + '\'' +
                ", hits=" + hits +
                ", productSate=" + productSate +
                ", createUser=" + createUser +
                ", createDate=" + createDate +
                ", updateUser=" + updateUser +
                ", updateDate=" + updateDate +
                ", recommend=" + recommend +
                ", discount=" + discount +
                ", ensure='" + ensure + '\'' +
                ", ProductSales=" + ProductSales +
                ", ProductLabel='" + ProductLabel + '\'' +
                ", state=" + state +
                ", collectionVolume=" + collectionVolume +
                ", fabulous=" + fabulous +
                ", exhibition=" + exhibition +
                '}';
    }
}